package com.system.service;

import com.system.entity.Student;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.CrossOrigin;

import java.util.List;
import java.util.Map;
@CrossOrigin
@Service
public interface studentService {
    public Student findByStudentId(Long id);
    public Student findByUserName(String stu_name);
    public int add(Student student);
    public int edit(Student student);
    public int delete(Long stu_id);
    public List<Student> findList(Map<String,Object> queryMap);
    public List<Student> findAll();
    public int getTotal(Map<String,Object> queryMap);
}
